package com.qc.dao;

import java.util.List;
import java.util.Map;

import com.qc.entity.OccupationEntity;

public interface OccupationDao {

    //所有身高列表总数
    int getListOccupationCount(String name);
    
    //所有身高列表
    List<Map<String, Object>> getAllOccupation(String name,int pageNo,int pageSize);
    
    //身高新增
    int saveOccupation(OccupationEntity occupationEntity);
    
    //身高删除
    int deleteOccupationId(long id);
    
    //身高修改
    int updateOccupationId(OccupationEntity occupationEntity);
}
